package com.xm.service.impl;

import com.xm.mapper.MemberDynamicinfoMapper;
import com.xm.pojo.MemberDynamicinfo;
import com.xm.service.MemberDynamicinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberDynamicinfoServiceImpl implements MemberDynamicinfoService {
    @Autowired
    MemberDynamicinfoMapper mapper;

    public int insertMemberDynamicinfoService(MemberDynamicinfo memberDynamicinfo) {
        return mapper.insertMemberDynamicinfo(memberDynamicinfo);
    }

    public int updateMemberDynamicinfoService(MemberDynamicinfo memberDynamicinfo) {
        return mapper.updateMemberDynamicinfo(memberDynamicinfo);
    }

    public int deleteMemberDynamicinfoService(String member_id) {
        return mapper.deleteMemberDynamicinfo(member_id);
    }

    public MemberDynamicinfo queryOneService(String member_id) {
        return mapper.queryOne(member_id);
    }
}
